package com.adv.ems.model.param;

import com.adv.ems.enums.DateTypeEnum;
import com.adv.ems.enums.SubjectTypeEnum;
import lombok.Data;
import java.util.LinkedHashSet;
import java.util.Set;

@Data
public class ReportMeterExcelParam {
    private DateTypeEnum dateType;
    private String fromDate;
    private String toDate;
    private Set<Info> subjects;

    public ReportMeterExcelParam() {
        this.subjects = new LinkedHashSet<>();
    }

    @Data
    public static class Info {
        private SubjectTypeEnum subjectType;
        private Long subjectId;
        private String subjectName;
    }
}
